{% extends "sc-base.html" %}

{% block body %}
<b>User nickname:</b> {{ scuser.user.nickname }}<br />
<b>User email address:</b>{{ scuser.user.email }}<br />
<b>User role:</b> {{ scuser.role }}<br />
<hr />


{% if var %}
	{% ifequal scuser.role "None"%}
		ActonCreator priveleges:
		<form action="{%url sanjhachoolha.views.setactoncreator user_id=scuser.key.id %}" method="post">
		<input type="hidden" name="pdata" value="{{ scuser.key }}">
		<input type="submit" value="Grant">
		</form>
	
	{% endifequal%}
	
	{%ifnotequal scuser.role "None"%}
		ActonCreator priveleges:
		<form action="{%url sanjhachoolha.views.unsetactoncreator user_id=scuser.key.id %}" method="post">
		<input type="hidden" name="pdata" value="{{ scuser.key }}">
		<input type="submit" value="Revoke">
		</form>
			
	{%endifnotequal%}
{% endif%}
<hr />
{{user_.role}}


{%endblock%}

{{cuser}}